<form method="post" action="{% url 'change_sign_in' pk=form.instance.pk mode=mode %}" class="js-change-sign-in-form">
    {% csrf_token %}
    <div class="modal-header">
        <h4 class="modal-title">更换真实值班人并签到确认</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
    <div class="modal-body">
        {% include 'logs/includes/partial_schedule_form.html' %}
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="submit" class="btn btn-primary">签到</button>
    </div>
</form>